﻿<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>{$site_name}</title>
	
	<link rel="stylesheet" type="text/css" href="__TMPL__Public/fdc/css/main.css?1263">
	<script type="text/javascript" src="__TMPL__Public/fdc/js/jquery-1.9.1.min.js"></script>
	<script type="text/javascript" src="__TMPL__Public/fdc/js/jquery.cycle.js?12354"></script>
	<script type="text/javascript" src="__TMPL__Public/fdc/js/jquery.SuperSlide.2.1.1.js?12354"></script>
	<script type="text/javascript" src="__TMPL__Public/fdc/js/common.js?12355"></script>
	<script src="__TMPL__Public/js/floatAd.js" ></script>
	<link rel="stylesheet" href="__TMPL__Public/css/Coerdestyle.css" />
<style type="text/css">
/* marqueeleft */
.marqueeleft{height:136px;width:474px;overflow:hidden;margin:40px auto;}
.marqueeleft ul{float:left;}
.marqueeleft li{float:left;margin:0 5px;display:inline;width:148px;height:133px;overflow:hidden;}
.marqueeleft li .pic{display:block;border:#ccc 1px solid;width:135px;height:104px;padding:2px;overflow:hidden;}
.marqueeleft li .txt{text-align:center;height:23px;line-height:23px;}
/* marqueetop */
.marqueetop{height:429px;width:474px;overflow:hidden;margin:40px auto;}
.marqueetop li{padding:5px 0;width:474px;height:133px;overflow:hidden;}
.marqueetop li .pic{display:block;border:#ccc 1px solid;width:135px;height:104px;padding:2px;overflow:hidden;}
.marqueetop li .txt{text-align:center;height:23px;line-height:23px;}
</style>

<script type="text/javascript">
function sleep(d){
  for(var t = Date.now();Date.now() - t <= d;);
}
//js无缝滚动代码
function marquee(i, direction){
	var obj = document.getElementById("marquee" + i);
	var obj1 = document.getElementById("marquee" + i + "_1");
	var obj2 = document.getElementById("marquee" + i + "_2");
	if (direction == "up"){
		if (obj2.offsetTop - obj.scrollTop <= 0){
			obj.scrollTop -= (obj1.offsetHeight + 20);
		}else{
			var tmp = obj.scrollTop;
			obj.scrollTop++;
			if (obj.scrollTop == tmp){
				obj.scrollTop = 1;
			}
		}
		if(obj.scrollTop%437==0)
		{
			sleep(3000);
		}
	}else{
		if (obj2.offsetWidth - obj.scrollLeft <= 0){
			obj.scrollLeft -= obj1.offsetWidth;
		}else{
			obj.scrollLeft++;
		}
	}
}
function marqueeStart(i, direction){
	var obj = document.getElementById("marquee" + i);
	var obj1 = document.getElementById("marquee" + i + "_1");
	var obj2 = document.getElementById("marquee" + i + "_2");

	obj2.innerHTML = obj1.innerHTML;
	var marqueeVar = window.setInterval("marquee("+ i +", '"+ direction +"')", 20);
	obj.onmouseover = function(){
		window.clearInterval(marqueeVar);
	}
	obj.onmouseout = function(){
		marqueeVar = window.setInterval("marquee("+ i +", '"+ direction +"')", 20);
	}
}
</script>
<body>
	<!-- 二维码代码部分begin -->
		<div id="floatright" style="position: absolute; z-index: 10; font-weight: bold; "><div align="center" style="color: red;font-weight: bold;">成长之路，你我相伴<br/></div><div style="color: red;font-weight: bold;padding: 5px 5px;" align="center">欢迎关注</div><div align="center"><img src="__TMPL__Public/fdc/images/Coerde.png" border="0" width="120px" height="120px"><br/></div><div align="center" style="color:royalblue;font-weight: bold;padding: 5px 5px;">房地产人力资源服务平台</div></div>
		<script src="js/jquery.js" ></script>
		<script src="js/floatAd.js" ></script>
		<script>
		window.onload = function(){
			var ad = new FloatAd({
				floatObj : "floatright",
				x : 10,
				y : 580,
				locate : "right"
			});
			ad.play();
		}
		</script>
	<!-- 代码部分end -->
	<tc_include file="Public:nav" />
	<div class="banner">
		<div class="effect">
			<div id="slideBox" class="slideBox">
				<div class="hd">
					<a class="next" id="prev2"></a>
					<a class="prev" id="next2"></a>
				</div>
				<div class="bd">
					<ul>
						<li style="height:540px;background:url(__TMPL__Public/fdc/images/banner1.jpg) no-repeat center 0;"><a href=""></a></li>
						<li style="height:540px;background:url(__TMPL__Public/fdc/images/banner2.jpg) no-repeat center 0;"><a href="https://www.wenjuan.com/s/INjyQv/" target="_blank"></a></li>
						<li style="height:540px;background:url(__TMPL__Public/fdc/images/banner3.jpg) no-repeat center 0;"><a href=""></a></li>
					</ul>
				</div>
			</div>
			<script type="text/javascript">
				$(".slideBox ul").before('<p id="num-nav1" class="num-nav">').cycle({
					fx:      'scrollHorz',
		            timeout: 5000,
		            prev: '#prev2',
		            next: '#next2',
		            pager: '#num-nav1'
		        });
			</script>
		</div>
	</div>
	<div class="main_box index_main clearfix">
		<div class="fl l_box">
			<div class="modal_box news_modal">
				<div class="h clearfix">
					<div class="fl title">
						<span class="s1">新闻 / 政策</span>
						<span class="s2">News / Policy</span>
					</div>
					<a class="fr more_btn" href="{:leuu('list/index',array('id'=>1))}">更多</a>
				</div>
				<div class="clearfix b">
					<div class="fl img_box">
						<div class="effect">
							<div id="slideBox" class="slideBox">
								<div class="hd">
									
								</div>
								<div class="bd">
									<ul>
										<php>
											$lastnews=sp_sql_posts("cid:$portal_index_lastnews;field:post_title,post_excerpt,tid,smeta;order:recommended desc,listorder asc;limit:4;"); 
										</php>
										<foreach name="lastnews" item="vo">
											<php>$smeta=json_decode($vo['smeta'],true);</php>
											<if condition="!empty($smeta['thumb'])">
											<li>
												<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">
													<img src="{:sp_get_asset_upload_path($smeta['thumb'])}"  alt="{$vo.post_title}" />
													<div class="txt">{:msubstr($vo['post_title'],0,16)}</div>
												</a>
											</li>		
											</if>
										</foreach>
									</ul>
								</div>
							</div>
						</div>
						<script type="text/javascript">
							$(".news_modal .slideBox ul").before('<p id="num-nav3" class="num-nav">').cycle({
								fx:      'scrollHorz',
					            timeout: 5000,
						        pager: '#num-nav3',
						        pagerClick: function(index){
						        	
						        },
						        prevNextClick: function(isNext,index){
						        	
						        }
					        });
						</script>
					</div>	
					<div class="fl text">
						<php>
							$lastnews=sp_sql_posts("cid:$portal_index_lastnews;field:post_title,post_excerpt,tid,smeta;order:istop desc,listorder asc;limit:5;"); 
						</php>
						<php>
							$c_data=array_splice($lastnews, 1, 1);
							$vo=$c_data[0];
						</php>				
						<div class="tit"><a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">{:msubstr($vo['post_title'],0,15)}</a></div>
						<div class="txt">
							<p>{:msubstr($vo['post_excerpt'],0,60)}</p>
						</div>
						<div class="news_list">
							<ul>
								<foreach name="lastnews" item="vo">
									<li>
										<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">{:msubstr($vo['post_title'],0,24)}</a>
									</li>
								</foreach>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="modal_box px_modal">
				<div class="h clearfix">
					<div class="fl title">
						<span class="s1">培训项目</span>
						<span class="s2">NTraining program</span>
					</div>
					<a class="fr more_btn" href="{:leuu('list/index',array('id'=>3))}">更多</a>
				</div>
				<div class=" b">
					<ul class="clearfix">
						<php>
							$lastnews=sp_sql_posts("cid:3;field:post_title,post_keywords,post_excerpt,tid,smeta;order:recommended desc,listorder asc;limit:6;"); 
						</php>
						<foreach name="lastnews" item="vo">
						
							<php>$smeta=json_decode($vo['smeta'],true);</php>
							
							<if condition="!empty($smeta['thumb'])">
							<php>
							$post_keywords = explode(",", $vo['post_keywords']);
							</php>
							<li>
								<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">
									<div class="img">
										<img src="{:sp_get_asset_upload_path($smeta['thumb'])}" />
										<div class="txt">{:msubstr($vo['post_title'],0,16)}</div>
									</div>
									<div class="time">
										<span class="s1">{$post_keywords[0]}</span>
										<span class="s2">{$post_keywords[1]}</span>
									</div>
								</a>
							</li>
							</if>
						</foreach>
					</ul>
				</div>
			</div>

		</div>
		<div class="fr r_box">
			<div class="cjcx_modal">
				<div class="h">
					<span class="s1">成绩查询</span>
					<span class="s2">Result inquiry</span>
				</div>
				<div class="b">
					<form method='post' action="index.php?g=Portal&m=Index&a=query">
						<ul>
							<li class="li_1">
								<input type="text" class="text" name="student" id="student" value="请输入考生姓名">
							</li>
							<li class="li_2">
								<input type="text" class="text" name="certificate" id="certificate" value="请输入准考证号/证件号">
								<p>证件号准考证号任填一项</p>
							</li>
							<li class="clearfix li_3">
								<input type="text" class="fl text"  name="verify" id="verify" value="验证码">
									{:sp_verifycode_img('length=4&font_size=20&width=150&height=42&use_noise=1&use_curve=0','style="cursor: pointer;" title="点击获取"')}
								<!-- <img src="__TMPL__Public/fdc/images/img3.jpg" class="fl yzm_code"> -->
							</li>
							<li class=" li_4">
								<input type="submit" class="submit_btn" value="立即查询">
							</li>
						</ul>
					</form>
				</div>
			</div>
			<div class="modal_box mstj_modal">
				<div class="h clearfix">
					<div class="fl title">
						<span class="s1">名师推荐</span>
						<span class="s2">Teacher Recommended</span>
					</div>
				</div>
				<div class=" b">
					<div class="picScroll-top">
						<div class="hd">
							<!--<a class="prev"><img src="images/a_t.png"></a>-->
							<a class="next" href="{:leuu('list/index',array('id'=>4))}"><img src="__TMPL__Public/fdc/images/a_bb.png"></a>
						</div>
						<div class="bd">
									<!--<ul id="marquee2_1">
									
									<php>
										$lastnews=sp_sql_posts("cid:4;field:post_title,post_keywords,post_excerpt,tid,smeta;order:recommended desc,listorder asc;limit:99999;"); 
									</php>
									<foreach name="lastnews" item="vo">
										<php>$smeta=json_decode($vo['smeta'],true);</php>
										<if condition="!empty($smeta['thumb'])">
										<php>
										$post_keywords = explode(",", $vo['post_keywords']);
										</php>
										<li class="clearfix">
											<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">
												<div class="fl img">
													<img src="{:sp_get_asset_upload_path($smeta['thumb'])}" />
												</div>
												<div class="fl text">
													<p class="p1">{:msubstr($vo['post_title'],0,5)}</p>
													<p class="p2">{:msubstr($vo['post_excerpt'],0,14)}</p>
												</div>
											</a>
										</li>
										</if>
									</foreach>
									</ul>-->
									<div id="marquee2" class="marqueetop" style="height: 365px;">
										<div>
											<ul id="marquee2_1">
												<php>
													$lastnews=sp_sql_posts("cid:4;field:post_title,post_keywords,post_excerpt,tid,smeta;order:recommended desc,listorder asc;limit:99999;"); 
												</php>
												<foreach name="lastnews" item="vo">
													<php>$smeta=json_decode($vo['smeta'],true);</php>
													<if condition="!empty($smeta['thumb'])">
													<php>
													$post_keywords = explode(",", $vo['post_keywords']);
													</php>
													<li class="clearfix">
														<a href="{:leuu('article/index',array('id'=>$vo['tid'],'cid'=>$vo['term_id']))}">
															<div class="fl img">
																<img src="{:sp_get_asset_upload_path($smeta['thumb'])}" />
															</div>
															<div class="fl text">
																<p class="p1">{:msubstr($vo['post_title'],0,5)}</p>
																<p class="p2">{:msubstr($vo['post_excerpt'],0,14)}</p>
															</div>
														</a>
													</li>
													</if>
												</foreach>
											</ul>
											<ul id="marquee2_2"></ul>
										</div>
									</div><!--marqueeleft end-->
									<script type="text/javascript">marqueeStart(2, "up");</script>
							
						</div>
					</div>
						<!--
					<script id="jsID" type="text/javascript">
					 var ary = location.href.split("&");
					$(".picScroll-top").slide( { titCell:".hd ul",mainCell:".bd ul",autoPage:true,effect:"top",autoPlay:true,scroll:3,vis:3,easing:"swing",delayTime:500,pnLoop:true,trigger:"mouseover",mouseOverStop:true });
					</script>-->

				</div>
			</div>
		</div>
	</div>
	<div class="modal_box pxjg_modal">
		<!-- <div class="h clearfix">
			<div class="fl title">
				<span class="s1">培训机构</span>
				<span class="s2">Training institutions</span>
			</div>
			<a class="fr more_btn" href="">更多</a>
		</div>
		<div class=" b">
			<ul class="clearfix">
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
				<li>
					<img src="__TMPL__Public/fdc/images/img5.jpg">
				</li>
			</ul>
		</div> -->
	</div>
	<div class="modal_box pxjg_modal">
		<div class="h clearfix">
			<div class="fl title">
				<span class="s1">友情链接</span>
				<span class="s2"></span>
			</div>
			<a class="fr more_btn" href=""></a>
		</div>
		<div class=" b">
			<ul class="clearfix" >
				<li style="border: none;">
					<a href="http://www.mohrss.gov.cn/" style="color: blue;" target="_blank">中华人民共和国人力资源和社会保障部</a>
				</li>
				<li style="border: none;">
					|&nbsp;&nbsp;<a href="http://www.mohurd.gov.cn/" style="color: blue;" target="_blank">中华人民共和国住房和城乡建设部</a>
				</li>
				<li style="border: none;">
					|&nbsp;&nbsp;<a href="http://www.fangchan.com/" style="color: blue;" target="_blank">中国房地产业协会</a>
				</li>
			</ul>
		</div>
	</div>
	<div class="footer clearfix">
		<p class="p1">
			<a href="">关于我们</a>
			-
			<a href="">公司简介</a>
			-
			<a href="">法律声明</a>
			-
			<a href="">联系方式</a>
			-
			<a href="">友情链接</a>
			-
			<a href="">网站地图</a>
		</p>
		<p class="p2">
			Copyright ©2016  房教中国   All Rights Reserved.  京ICP备0123457889     服务电话：400-6603-300  
		</p>
	</div>
</body>
</html>